<html>
   <head>
     <meta charset="UTF-8">
     <title>详细信息</title>
   </head>
   <body>
   <form method="post" action="list.php" enctype="multipart/form-data">
<?php
require_once('system/dbconn.php');
require_once('system/myfun.php');
 connect();
  $sql = "select * from jiaju"; 
  $result=mysql_query($sql);
  ?>
  <table border='1'>
 <tr>
  <th>家具名称</th>
   <th>家具品牌</th>
   <th>家具介绍</th> 
</tr>;
<?php
if(is_array($result) && !empty($result)){  
 foreach($result as $row) 
  {
   echo '<tr>';
   echo '<td>'.$row['GL_name'].'</td>';
   echo '<td>'.$row['GL_brand'].'</td>';
   echo '<td>'.$row['GL_intro'].'</td>';
   echo '</tr>';  
  } 
}
?>
</body>
</html>


